﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ListStudentRequest.aspx.cs" Inherits="HiTeachers.Web.ListStudentRequest" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cphSearch" runat="server">
    <hiteacher:Search ID="htcSearch" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphMainMenu" runat="server">
    <hiteacher:MainMenu ID="mnuMain" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphMain" runat="server">
    <table class="list_request" width="100%" cellspacing="0" cellpadding="2" border="0">
        <tr class="title_request">
            <td>
                Tiêu đề
            </td>
            <td style="width: 100px;">
                Địa điểm
            </td>
            <td align="center" style="width: 50px;">
                Tình trạng
            </td>
            <td style="width: 80px;">
                Ngày đăng
            </td>
        </tr>
        <asp:Repeater ID="rptStdRequest" runat="server">
            <ItemTemplate>
                <tr class="row1_list">
                    <td>
                        <a href="<%# Eval("ID", "StudentRequestDetails.aspx?itid={0}") %>">
                            <%# Eval("Title")%></a>
                    </td>
                    <td>
                        <%# Eval("City")%>
                    </td>
                    <td align="center">
                        <img src='<%# Eval("IsClosed", "images/close_{0}.png") %>' alt="" title='<%# (Convert.ToBoolean(Eval("IsClosed")))?"Tin ở trạng thái đóng!":"Tin ở trạng thái mở!" %>'
                            border="0" />
                    </td>
                    <td>
                        <%# Convert.ToDateTime(Eval("UpdatedDate")).ToString("dd/MM/yyyy") %>
                    </td>
                </tr>
            </ItemTemplate>
            <AlternatingItemTemplate>
                <tr class="row2_list">
                    <td>
                        <a href="<%# Eval("ID", "StudentRequestDetails.aspx?itid={0}") %>">
                            <%# Eval("Title")%></a>
                    </td>
                    <td>
                        <%# Eval("City")%>
                    </td>
                    <td align="center">
                        <img src='<%# Eval("IsClosed", "images/close_{0}.png") %>' alt="" title='<%# (Convert.ToBoolean(Eval("IsClosed")))?"Tin ở trạng thái đóng!":"Tin ở trạng thái mở!" %>'
                            border="0" />
                    </td>
                    <td>
                        <%# Convert.ToDateTime(Eval("UpdatedDate")).ToString("dd/MM/yyyy") %>
                    </td>
                </tr>
            </AlternatingItemTemplate>
        </asp:Repeater>
    </table>
    <div class="pager">
        <asp:Literal ID="ltrPaper" runat="server"></asp:Literal>
    </div>
</asp:Content>
